class SimpleDiamond{
    public static void main(String []args){
         int size = 4;

         //上半部含对角线   
         for(int i = 0 ; i <= size; i++ ) {        
             for(int space = 1; space <= size - i; space++)      
                 System.out.print(" ");              
             
             for(int star = 1; star <= 2*i-1; star++)     
                 System.out.print("*");                  
                 
             System.out.println("");           
         }
        
         //下半部不含对角线    
         for(int i=size-1; i>0; i--) {               
             for(int space=1; space<=size-i; space++)     
                 System.out.print(" ");                    
             
             for(int star=1; star<=(i*2)-1; star++)          
                 System.out.print("*");                      
                                                 
             System.out.println("");                   
         }                                           
     }                                              
}